Xbasic

FILE.WATCH_DESTROY Function

Syntax

V FILE.Watch_Destroy(C Watchname)

Arguments

WatchnameCharacter

The name of a watch created with FILE.WATCH_CREATE().

Description

Removes a registered 'watch'.

Discussion

The FILE.WATCH_DESTROY() function removes a watch set by FILE.WATCH_CREATE().

Example

FILE.watch_create("temp_dir", "c:\temp", "F", "my_alert_function()")
? FILE.watch_enumerate()
= temp_dir c:\temp F
FILE.watch_destroy("temp_dir")

See Also